package com.sinochem.yunlian.ship.api.vo.trace;

import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Auther: zzd
 * @Dscription: trc_waybill_line 全量数据
 * @Date: Create in 2017/11/20 19:11
 **/
@Data
public class TrcWaybillLineInfo implements Serializable{

    //运单状态
    private Integer traceStatus;
    //航线id
    private Long id;
    //运单id
    private Long waybillId;
    //运单编号
    private String waybillNo;
    //货品id
    private Long materialCategoryId;
    //货品名称
    private String materialCategoryName;
    //签约重量
    private BigDecimal signTotal;
    //签约重量浮动量
    private BigDecimal signTotalRange;
    //装货港ID
    private Long fromPortId;
    //装货港
    private String fromPortName;
    //第一卸货港id
    private Long toPortIdF;
    private String toPortNameF;
    private BigDecimal toPortTotalF;
    //第二卸货港id
    private Long toPortIdS;
    private String toPortNameS;
    private BigDecimal toPortTotalS;
    //第三卸货港id
    private Long toPortIdT;
    private String toPortNameT;
    private BigDecimal toPortTotalT;
    //损耗
    private BigDecimal loss;
    //含水量
    private BigDecimal water;
    //受载期开始时间
    private Date loadDateStart;
    //受载期结束时间
    private Date loadDateEnd;
    //两港作业时间
    private Integer twoPortHour;
    //封样个数
    private Integer sealedAmount;
    //装货港计量方式
    private String fromPortMeasureType;
    //卸货港计量方式
    private String toPortMeasureType;
    //航线状态(0:待分配;1:分配中;2:执行中;3:完成)
    private Integer status;

    private Integer isDelete;

    //创建时间
    private Date createTime;

    private Long createBy;

    //更新时间
    private Date updateTime;

    private Long updateBy;

    //完成时间
    private Date completedTime;

    private Long completedBy;

    private Long shipId;
    @Override
    public String toString(){
        return ToStringBuilder.reflectionToString(this);
    }

}
